<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%String path = request.getContextPath() ;%>
<%@ taglib uri="/WEB-INF/tld/c.tld" prefix="c" %> 
<%@ taglib uri="/WEB-INF/tld/ui.tld" prefix="ui" %> 
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<c:set var="ctx" value="${pageContext.request.contextPath}" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>经销商位置信息变更详情</title>
<jsp:include page="../../import.jsp" flush="true" />
</head>
<head>
    <meta charset="UTF-8">
    <title>供应商位置信息对比</title>
    <style type="text/css">
    	 .ctrlBar{
            padding-bottom: 10px;
            text-align: right;
        }
        .compareLay{
            position: relative;
        }
        .compareLay:before{
            content: '';
            position: absolute;
            left: 50%;
            top: 30px;
            bottom: 20px;
            display: block;
            width: 1%;
            margin-left: -.5%;
            margin-bottom: -.5%;
            background: #4a9b5e;
            /*height: 100%;*/
            line-height: 0;
            font-size: 0;
            clear: both;
        }
        .compareLay:after{
            content: '';
            display: block;
            height: 0;
            line-height: 0;
            font-size: 0;
            clear: both;
        }
        .compareLay .halfLay{
            float: left;
            width: 49.5%;
        }
        .compareLay .halfLay2{
            float: right;
        }
    </style>
</head>

<body class="iframeBody">
    <div class="Wrapper">
        <div class="compareLay">
            <div class="ctrlBar">
            	<input id="splId" style="display:none" value="${newSplPositionInfoVO.splId }">
                <span id="splInfo" class="sq-button sq-button-round">供应商详情</span>
            </div>
            <div class="halfLay halfLay1">
                <div>
                    <div class="fieldset1 tabel_col clearFix">
                        <div class="caption">
                            <span class="title">供应商位置信息变更前</span>
                        </div>
                        <div class="fieldBox col_100">
                            <div class="label">供应商名称</div>
                            <div class="field">
                            ${newSplPositionInfoVO.splNm }
                            </div>
                        </div>
                        <div class="caption"/></div>
                        <div class="fieldBox col_100">
                            <div class="label">供应商地址</div>
                            <div class="field">
                            ${oldSplPositionInfoVO.splAddr }    
                            </div>
                        </div>
                        <div class="fieldBox col_100">
                            <div class="label">位置经度</div>
                            <div class="field">
                            ${oldSplPositionInfoVO.positLongitude }   
                            </div>
                        </div>
                        <div class="fieldBox col_100">
                            <div class="label">位置纬度</div>
                            <div class="field">
                            ${oldSplPositionInfoVO.positLatitude }    
                            </div>
                        </div>
                    </div>
                </div>
                <div class="sqPanel">
                    <div class="sqPanel_head inL">
                        <span>门头照片信息</span>
                    </div>
                    
                </div>
                <div class="sqPanel">
                    <div class="sqPanel_head inL">
                        <a href="${sysUlFilesRecVO.filePath }" target="_blank"><span style="color: blue">${sysUlFilesRecVO.fileNm }</span></a>
                    </div>
                    
                </div>
                <div class="fieldset1 tabel_col clearFix">
                <div class="fieldBox col_100" hidden="true">
			</div>
			</div>
            </div>
            <div class="halfLay halfLay2">
                <div>
                    <div class="fieldset1 tabel_col clearFix">
                        <div class="caption">
                            <span class="title">供应商位置信息变更后</span>
                        </div>
                        <div class="fieldBox col_100">
                            <div class="label">供应商名称</div>
                            <div class="field">
                            ${newSplPositionInfoVO.splNm }
                            </div>
                        </div>
                        <div class="caption"/></div>
                        <div class="fieldBox col_100">
                            <div class="label">供应商地址</div>
                            <div class="field">
                            ${newSplPositionInfoVO.splAddr }    
                            </div>
                        </div>
                        <div class="fieldBox col_100">
                            <div class="label">位置经度</div>
                            <div class="field">
                            ${newSplPositionInfoVO.positLongitude }   
                            </div>
                        </div>
                        <div class="fieldBox col_100">
                            <div class="label">位置纬度</div>
                            <div class="field">
                            ${newSplPositionInfoVO.positLatitude }    
                            </div>
                        </div>
                    </div>
                </div>
                <div class="sqPanel">
                    <div class="sqPanel_head inL">
                        <span>拜访照片信息</span>
                    </div>
                </div>
                <div class="sqPanel">
                <c:forEach items="${sysUlFilesRecVOs}" var="item">
                	<div class="sqPanel_head inL">
                    	<a href="${item.filePath }" target="_blank"><span style="color: blue">${item.fileNm }</span></a>
                	</div>
				</c:forEach>
                </div>
                <div class="fieldset1 tabel_col clearFix">
                <div class="fieldBox col_100" hidden="true">
			</div>
			</div>
            </div>
        </div>
    </div>
    <script>
    $(function() {
      //供应商链接
        $("#splInfo").click(function(event) {
        	var id = $("#splId").val();
            Add_navTab('spl_bsc_info'+id,'供应商信息','<%=path%>/product/splInfo/toDetailPage.do?id='+id+'&splAttrCd=2&ischange=0');
        });

    });
    frameElement.dialog.onCancel = function () {
        frameElement.dialog.close();
    }
    </script>
</body>

</html>
